 function SetCwinHeight(){
  var mright=document.getElementById("mright"); //iframe id
  if (document.getElementById){
   if (mright && !window.opera){
    if (mright.contentDocument && mright.contentDocument.body.offsetHeight){
     mright.height = mright.contentDocument.body.offsetHeight;
    }else if(mright.Document && mright.Document.body.scrollHeight){
     mright.height = mright.Document.body.scrollHeight;
    }
   }
  }
  var mleft=document.getElementById("mleft"); //iframe id
  if (document.getElementById){
   if (mleft && !window.opera){
    if (mleft.contentDocument && mleft.contentDocument.body.offsetHeight){
     mleft.height = mleft.contentDocument.body.offsetHeight;
    }else if(mleft.Document && mleft.Document.body.scrollHeight){
     mleft.height = mleft.Document.body.scrollHeight;
    }
   }
  }
 }